package com.block.channel.enums;

import cn.hutool.core.util.StrUtil;
import lombok.Getter;

import java.util.ArrayList;
import java.util.List;

@Getter
public enum BaiduAccountEnum {

    // 0 大搜
    // 1 信息流
    // 2 h5

    /**********************臻享分期**************************/
    ZhenXiang_0( "臻享分期", "58421927", "0"),
    ZhenXiang_1( "臻享分期1", "58738541", "0"),
    ZhenXiang_8( "臻享分期8", "58738540", "0"),
    ZhenXiang_9( "臻享分期9", "58738545", "0"),

    ZhenXiang_2( "臻享分期2", "58738542", "1"),
    ZhenXiang_3( "臻享分期3", "58738543", "1"),
    ZhenXiang_4( "臻享分期4", "58738544", "1"),
    ZhenXiang_5( "臻享分期5", "58738537", "1"),
    ZhenXiang_6( "臻享分期6", "58738538", "1"),
    ZhenXiang_7( "臻享分期7", "58738539", "1"),

    ZhenXiang_11( "臻享分期11", "59932780", "2"),
    ZhenXiang_12( "臻享分期12", "59932779", "2"),
    ZhenXiang_13( "臻享分期13", "59932778", "2"),
    ZhenXiang_14( "臻享分期14", "59932777", "2"),
    ZhenXiang_15( "臻享分期15", "59932776", "2"),

    /**********************臻享分期**************************/

    /**********************来钱呗**************************/

    LaiQian_0("来钱呗", "60455243", "0"),
    LaiQian_1( "来钱呗1", "60455244", "0"),
    LaiQian_2( "来钱呗2", "60455245", "0"),
    LaiQian_3( "来钱呗3", "60455240", "0"),
    LaiQian_8( "来钱呗8", "61072500", "0"),
    LaiQian_9( "来钱呗9", "61072501", "0"),
    LaiQian_10( "来钱呗10", "61072497", "0"),

    LaiQian_4( "来钱呗4", "60455241", "1"),
    LaiQian_5( "来钱呗5", "60455242", "1"),
    LaiQian_6( "来钱呗6", "61072498", "1"),
    LaiQian_7( "来钱呗7", "61072499", "1"),

    /**********************来钱呗**************************/

    /**********************可借**************************/
    KeJie_1( "可借1", "61072678", "0"),
    KeJie_2( "可借2", "61072679", "0"),
    KeJie_3( "可借3", "61072680", "0"),
    KeJie_4( "可借4", "61072674", "0"),
    KeJie_5( "可借5", "61072675", "0"),
    KeJie_6( "可借6", "61072676", "0"),

    KeJie_7( "可借7", "61072677", "1"),
    KeJie_8( "可借8", "61072682", "1"),
    KeJie_9( "可借9", "61072683", "1"),
    KeJie_10( "可借10", "61072681", "1"),

    /**********************可借**************************/
    ;

    public static List<String> DASOU_USERID_LIST = new ArrayList<>();
    static {
        for (BaiduAccountEnum accountEnum : values()) {
            if (StrUtil.equals("0", accountEnum.getType())){
                DASOU_USERID_LIST.add(accountEnum.getUserId());
            }
        }
    }

    String userId;

    String username;

    String type;

    BaiduAccountEnum(String username,String userId,  String type) {
        this.userId = userId;
        this.username = username;
        this.type = type;
    }

}

